﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateAssoc.aspx.cs" Inherits="SponsorshipWeb.personal.CreateAssoc" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <title>宾果高校</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/sweetalert.min.css" />
    <script src="../js/jquery-1.12.2.min.js"></script>
    <script src="../js/validator.min.js"></script>
    <script src="../js/common.js"></script>
    <script src="../js/layer.js"></script>
    <script src="../js/angular.min.js"></script>
    <script src="../js/Controller.js"></script>
    <script src="../js/sweetalert.min.js"></script>
</head>
<body id="bodyContent">
    <div id="searchPage"></div>
    <div class="main">
        <div class="wrap">
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="form-wrap">
                        <form id="formValidate" runat="server" class="form-horizontal">
                            <%-- <div class="form-group">
                                <label for="">高校名称：</label>
                                <input type="text" placeholder="高校名称" readonly class="form-control">
                            </div>--%>
                            <div class="form-group form-inline">
                                <label for="" style="display: block">社团类型</label>
                                <asp:DropDownList ID="ddlNature" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlNature_SelectedIndexChanged" Style="margin-right: 20px; width: 178px;" class="form-control">
                                    <asp:ListItem Value="0">请选择社团分类</asp:ListItem>
                                    <asp:ListItem Value="900000112">组织类</asp:ListItem>
                                    <asp:ListItem Value="900000113">社团类</asp:ListItem>
                                </asp:DropDownList>
                                <asp:DropDownList ID="ddlType" runat="server" Style="width: 178px;" class="form-control">
                                    <asp:ListItem Value="0">请选择具体类型</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div class="form-group">
                                <label for="">社团级别</label>
                                <asp:DropDownList runat="server" data-error="请选择社团级别" required min="1" class="form-control" ID="ddlLevel">
                                    <asp:ListItem Selected="True">请选择社团级别</asp:ListItem>
                                    <asp:ListItem Value="900000001">校级</asp:ListItem>
                                    <asp:ListItem Value="900000002">院级</asp:ListItem>
                                </asp:DropDownList>
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">社团名称</label>
                                <input type="text" runat="server" id="txtName" placeholder="社团名称" data-error="请填写社团名称" required class="form-control">
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">社团规模</label>
                                <asp:DropDownList runat="server" id="ddlAmout" data-error="请选择社团规模" required min="1" class="form-control">
                                    <asp:ListItem selected="True">请选择社团规模</asp:ListItem>
                                    <asp:ListItem value="900000102">1-10人</asp:ListItem>
                                    <asp:ListItem value="900000103">11-30人</asp:ListItem>
                                    <asp:ListItem value="900000104">31-60人</asp:ListItem>
                                    <asp:ListItem value="900000105">61-90人</asp:ListItem>
                                    <asp:ListItem value="900000106">91-120人</asp:ListItem>
                                    <asp:ListItem value="900000107">121-150人</asp:ListItem>
                                    <asp:ListItem value="900000108">151-200人</asp:ListItem>
                                    <asp:ListItem value="900000109">201-250人</asp:ListItem>
                                    <asp:ListItem value="900000110">251-300人</asp:ListItem>
                                    <asp:ListItem value="900000111">300人以上</asp:ListItem>
                                </asp:DropDownList>
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">社团部门数</label>
                                <input type="number" runat="server" placeholder="社团部门数" id="txtNumber" data-error="请填写社团部门数" required class="form-control">
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">请上传社团LOGO</label>
                                <asp:FileUpload ID="fuLogo" class="form-control" data-error="请选择上传社团LOGO" required runat="server" />
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group text-center">
                                <asp:Button runat="server" ID="btnNext" OnClick="btnNext_Click" class="btn btn-default" OnClientClick="return Go()" Text="创建" />
                                <asp:HiddenField runat="server" ID="hfAssocID" />
                                <asp:HiddenField runat="server" ID="hfMode" />
                                <asp:HiddenField runat="server" ID="hfUserID" />
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>

        $("#searchPage").load("header.html", function () {
            SetCss("Assoc");
        });

        function Go() {
            if (!common.validateForm())
                return false;
        }


    </script>
</body>
</html>
